<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'flight_add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <body>
   <form action="admin/flightaction!addflight.action" method="post">
   <center><font size="8">航班信息添加</font></center>
  <table border="1" align="center">
  <tr><td>航班编号</td><td><input type="text"  name="fi.flightId"/></td></tr>
  <tr><td>所属公司</td><td><s:select list="comlist" listKey="comId"  listValue="comName" name="fi.flightCompany" theme="simple"/></td></tr>
  <tr><td>起飞机场</td><td><s:select list="airportlist" listKey="airportId" listValue="airportName" name="fi.takeOffAirport" theme="simple"/></td></tr>
  <tr><td>降落机场</td><td><s:select list="airportlist" listKey="airportId" listValue="airportName" name="fi.landingAirport" theme="simple"/></td></tr>
  <tr><td>全程价格</td><td><input type="text" name="fi.totalPrice"/></td></tr>
  <tr><td>起飞时间</td><td><input type="text" name="fi.takeOffTime"/></td></tr>
    <tr><td>降落时间</td><td><input type="text" name="fi.landingTime"/></td></tr>
     <tr><td>里程</td><td><input type="text" name="fi.totalDistance"/></td></tr>
          <tr><td><input type="submit" value="提交"></td><td><input type="reset" value="重置"></td></tr>
  </table>
  </form>
  </body>
</html>
